package com.cucn.ingmall.member.feign;

import com.cucn.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author KouChaoJie
 * @since: 2022/2/9 14:51
 */
@FeignClient("ingmall-order")
public interface OrderFeignService {
    /**
     * 查询当前登录用户的所有订单信息(分页)
     */
    @PostMapping("/order/order/listWithItem")
    R listWithItem(@RequestBody Map<String, Object> params);
}
